<form name="license_form" ng-submit="update()">
    <div class="modal-header">
        <a class="close" ng-click="close()">&times;</a>
        <div class="input-prepend input-append">
            <h4>更新license</h4>
        </div>
    </div>
    <div class="modal-body">
        <div class="well">
            <span>硬件ID:{{ hardwareid }}</span>
        </div>
        <div class="well">
            <span>序列号:</span>
            <textarea style="width:100%;" rows="10" name="licenseinfo" ng-model="licenseinfo"></textarea>
        </div>
    </div>
    <div class="modal-footer">
        <a data-dismiss="modal" class="btn" ng-click="close()">关闭</a>
        <button type="submit" ng-disabled="!license_form.$valid" class="btn btn-primary">保存</button>
    </div>
</form>
